package com.moss.cloud.base.api.model.from;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class BatchBaseFrom implements Serializable {
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
    @NotEmpty(message = "数据集合不能为空")
    private List<Long> ids;
}
